fixed login in sessions