Gabriel Synthesis Amines

Question: 

The following is a Gabriel synthesis of a primary amine. Show the full mechanism.
organic chemistry amines problem