Readded code for saving points map because github removed it somewhere along the lines
Added logout view