Removed unused function and worked on LoginBB