login layout and finishing apllication