Add security constraint
Fix pointer
Add link to login / logout in memo page