Fix downloaded avatar size and position
Added login/logout system