readded login screen logic when pressing contribute