Updated frontend, added permit to user, made log in and register nav links all working