Fixed bug with signin from home page