fixed login controller thing