Login now works, proper comments everywhere !!