Added try method on login verification