implemented modal on index view when user IS logged in - need to switch it to when user is not logged in