formatting login