Bug login fixed