Added login functionality via bcrypt
Fixed some nulls and classes